//
//  DeFirstViewController.m
//  数码时代App
//
//  Created by dlios on 15-1-6.
//  Copyright (c) 2015年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "DeFirstViewController.h"
#import "FourModel.h"
@interface DeFirstViewController ()

@end

@implementation DeFirstViewController
-(void)dealloc
{
    [super dealloc];
}
- (void)viewDidLoad {
    [super viewDidLoad];
    [self.view setBackgroundColor:[UIColor whiteColor]];
    [self creatView];
    // Do any additional setup after loading the view.
}
-(void)creatView
{
    UIWebView *web = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height)];
    [self.view addSubview:web];
    NSURLRequest *req = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://try.pconline.com.cn/mobile/act-222.html"]];
    [web setScalesPageToFit:YES];
    [web loadRequest:req];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
